const Koa = require("koa");
const app = new Koa();
const port = 5000;
const router = require("./router")

app.use(router.routes(), router.allowedMethods())

app.listen(port, () => {
    console.log(`server is running at http://localhost:${port}`)
})